package com.xliang.spider.version04.pojo;

/**
 * ${DESCRIPTION}
 *
 * @author xiongl
 * @create 2016-06-21 15:25
 */
public class ChapterEntity
{
    private int id;
    
    private int lessonId;

    private String lessonName;
    
    private int chapterId;
    
    private String chapterName;
    
    private String chapterUrl;
    
    private int status;
    
    public ChapterEntity()
    {
    
    }
    
    public ChapterEntity(int lessonId, String lessonName,int chapterId, String chapterName, String chapterUrl)
    {
        this.lessonId = lessonId;
        this.lessonName = lessonName;
        this.chapterId = chapterId;
        this.chapterName = chapterName;
        this.chapterUrl = chapterUrl;
    }
    
    public int getId()
    {
        return id;
    }
    
    public void setId(int id)
    {
        this.id = id;
    }
    
    public int getLessonId()
    {
        return lessonId;
    }
    
    public void setLessonId(int lessonId)
    {
        this.lessonId = lessonId;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public int getChapterId()
    {
        return chapterId;
    }
    
    public void setChapterId(int chapterId)
    {
        this.chapterId = chapterId;
    }
    
    public String getChapterName()
    {
        return chapterName;
    }
    
    public void setChapterName(String chapterName)
    {
        this.chapterName = chapterName;
    }
    
    public String getChapterUrl()
    {
        return chapterUrl;
    }
    
    public void setChapterUrl(String chapterUrl)
    {
        this.chapterUrl = chapterUrl;
    }
    
    public int getStatus()
    {
        return status;
    }
    
    public void setStatus(int status)
    {
        this.status = status;
    }
    
    @Override
    public String toString()
    {
        return "ChapterEntity{" + "id=" + id + ", lessonId=" + lessonId + ", chapterId=" + chapterId + ", chapterName='" + chapterName + '\'' + ", chapterUrl='" + chapterUrl + '\''
            + ", status=" + status + '}';
    }
}
